Adwaita: Fix highlight on check buttons
authorMatthias Clasen <mclasen@redhat.com>
Sat, 21 Jun 2014 03:17:53 +0000 (23:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 21 Jun 2014 03:17:53 +0000 (23:17 -0400)
The .button style class does not apply to check and radio
buttons, and .check only applies to menuitems.

gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index 010a20ce35eeb1b5c13d4bcc425ab791deb8d866..3d619a90f030decd93042fd90eb0e8404dee466c 100644 (file)
@@ -358,6 +358,8 @@ GtkColorButton.button { padding: 4px; } // Uniform padding on the GtkColorButton
 
 .inline-toolbar.toolbar GtkToolButton .button { @include button(normal); }
 
+GtkCheckButton:hover { -gtk-image-effect: highlight; }
+
 /*********
  * Links *
  *********/
index 6a55e2752713e267d6516f66677a7f0aac13c2cd..2bf41bd96cd4eb430c5845904b1adb860ae53789 100644 (file)
@@ -477,6 +477,9 @@ GtkColorButton.button {
   icon-shadow: 0 -1px rgba(0, 0, 0, 0.81176);
   box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
 
+GtkCheckButton:hover {
+  -gtk-image-effect: highlight; }
+
 /*********
  * Links *
  *********/
index d79de7665a32c69407abd5ce73963fd73edc43b3..8e819d672b30e26604b1b9a0950b7219d921ffd8 100644 (file)
@@ -477,6 +477,9 @@ GtkColorButton.button {
   icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
   box-shadow: inset 0 1px white, 0 1px white; }
 
+GtkCheckButton:hover {
+  -gtk-image-effect: highlight; }
+
 /*********
  * Links *
  *********/